package com.lovo.sheyingback.dao;

import com.lovo.sheyingback.bean.Type;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TypeMapper {
    List<Type> listType();
    Type getById(Integer id);
    int getMaxIndex();
    int insert(Type type);
    int update(Type type);
    int updateIndex(Integer index,Integer val);

}
